const options = {
    method:'POST',
    headers:{
        Authorization:'Bearer sk-paqujjbxcvkxuobvwvmwyjngsbhrpqdybmptphdwwdjjaevt',
        'Content-Type': 'application/json'
    },

    body: JSON.stringify({
        "model":"deepseek-ai/DeepSeek-R1-Distill-Qwen-7B",
        "messages":[
            {
                "role":"user",
                "content":"你是李华"
            },
            {
                "role":"assistant",
                "content":"好的，我是李华"
            },
            {
                "role":"user",
                "content":"你是谁？"
            },
        ]
    })
};
fetch('https://api.siliconflow.cn/v1/chat/completions',options)
    .then(response => response.json())
    .then(response => {
        console.log("完整响应：",response);
        console.log("AI回复:",response.choices[0].message.content)
    })
    .catch(err => console.error("请求出错:",err));
    